/**
 *
 */
package com.hanhai.zrb.backend.admin.service;

import java.util.List;
import java.util.Map;

import com.hanhai.zrb.backend.admin.model.Privilege;

public interface UserRoleService {

	boolean add(Map<String, Object> user);

	boolean update(Map<String, Object> user);

	List<Map<String, Object>> listAll();

	Map<String, Object> getDetail(Integer id);
	
	List<Privilege> findAllByUserId(Long id);
	
}
